package com.dingli.admin.service.impl;


import com.dingli.admin.service.FindBankAll;
import com.dingli.framework.entity.Bank;

import com.dingli.framework.entity.User;
import com.dingli.framework.mapper.BankMapper;
import com.dingli.framework.util.Response;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FindBankAllImpl implements FindBankAll {
    @Autowired
    private BankMapper bankMapper;

    @Override
    public Response<List<Bank>> findBankAll(){
        List<Bank> i = bankMapper.findBankAll();
        return new Response(200,"查询成功",i);

    }
}